package com.zzyl.nursing.job;

import com.zzyl.nursing.service.IContractService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
public class ContractTask {
    @Autowired
    private IContractService contractService;

    public void updateContractStatus() {
        contractService.updateContractStatus();
    }
}
